package com.five.basic.service;

import com.five.basic.result.PageList;

import java.util.List;

public interface BaseService<T> {


    List<T> queryAll();

    T queryById(Long id);


    PageList<T> queryPage(T t);

    void add(T t);

    void update(T t);


    void delete(Long id);


    void deleteBatch(List<Long> ids);
}
